<html>
<head>
<title>eLGU - eRPTS - {TITLE}</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<link href="css/elgu.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>

<script language="Javascript">

function doSearch(){
	if(document.OwnerList.searchKey.value==""){
		alert("Search key is blank.");
		document.OwnerList.searchKey.focus();
		return false;
	}
	document.OwnerList.formAction.value = "search";
	document.OwnerList.submit();
}

function changePage(){
	doSearch();
}


</script>

</head>
<body BGCOLOR=#999999 link="#333333" vlink="#333333" alink="#333333" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"> 
      <table WIDTH=100 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
        <tr> 
          <td> <img SRC="images/inner_01.jpg" WIDTH=18 HEIGHT=9 ></td>
          <td> <img SRC="images/inner_02.jpg" WIDTH=27 HEIGHT=9 ></td>
          <td COLSPAN=2> <img SRC="images/inner_03.jpg" WIDTH=598 HEIGHT=9 ></td>
          <td COLSPAN=3 ROWSPAN=2><img SRC="images/steps/step01.jpg" WIDTH=157 HEIGHT=133 ></td>
        </tr>
        <tr> 
          <td> <img SRC="images/inner_05.jpg" WIDTH=18 HEIGHT=124 ></td>
          <td> <img SRC="images/inner_06.jpg" WIDTH=27 HEIGHT=124 ></td>
          <td COLSPAN=2 bgcolor="#CCCCCC"> <img SRC="images/title/title_main.jpg" WIDTH=598 HEIGHT=124 ></td>
        </tr>
        <tr> 
          <td> <img SRC="images/inner_08.jpg" WIDTH=18 HEIGHT=53 ></td>
          <td> <img SRC="images/inner_09.jpg" WIDTH=27 HEIGHT=53 ></td>
          <td COLSPAN=3 align="left" valign="top" bgcolor="#CCCCCC"> 
            <table WIDTH=702 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	   <tr> 
		<td width="72"> <img SRC="images/nav/nav_a_01.jpg" WIDTH=72 HEIGHT=53 ></td>
		<td background="images/nav_area_bg.jpg"><table width="100%%" border="0" cellspacing="0" cellpadding="2">
		  <tr align="center"> 
		   <td width="0" align=left class="common"><b>{uname}</b> : {today}</td>
		   <td width="0" align=right>
			<a href="home.php{Session}" class="navi" title="Alerts Home">Alerts Home</a>
		    <font class="navi">&lt;</font>
		    <a href="../nccweb/admin/home.php{Session}" class="navi" title="back to Admin">back to Admin</a>
		    <font class="navi">|</font>
			<a href="Logout.php" class="navi" title="Logout">Logout</a>
		   </td>
		  </tr>
		 </table></td>
		<td width="75"> <img SRC="images/nav/nav_a_08.jpg" WIDTH=75 HEIGHT=53 ></td>
	   </tr>
	  </table>
          </td>
          <td> <img SRC="images/inner_11.jpg" WIDTH=36 HEIGHT=53 ></td>
          <td> <img SRC="images/inner_12.jpg" WIDTH=17 HEIGHT=53 ></td>
        </tr>
        <tr> 
          <td align="center" valign="top"> <img SRC="images/inner_13.jpg" WIDTH=18 HEIGHT=375 ></td>
          <td background="images/inner_14.jpg"> <img SRC="images/spacer.gif" WIDTH=27 HEIGHT=1 ></td>
          <td COLSPAN=3 align="left" valign="top" background="images/background/bg_middle.jpg" bgcolor="#CCCCCC"> 
            <table width="702" height="375" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td align="left" valign="top"> 
                  <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td align="center" valign="top" class="title"><img src="images/spacer.gif" width="10" height="15"></td>
                    </tr>

                    <tr> 
                      
		   <td align="left" valign="top" class="fields">

			   <table border=0 cellpadding=1 cellspacing=0 align=center width="100%">
			   <tr>
				<td align="center">

                        <form name="OwnerList" method="post" action="OwnerList.php{Session}">
                          <input type="hidden" name="formAction" value="search">

                          <table width="90%" border="0" cellspacing="1" cellpadding="2">
                            <tr>
                              <td class="fileds_comment" colspan="5" bgcolor="#F6F6F6">
                                search:
                                <input type="text" name="searchKey" value="{searchKey}">
                                <input type="button" name="SubmitSearch" value="Search" onClick="doSearch();">
								&nbsp;&nbsp;
								<font color="#777777"> Search for names of :

								<select name="ownerType">
								 <option value="Person" {person_sel}>Persons</option>
								 <option value="Company"{company_sel}>Companies</option>
								</select>

								</font>
                              </td>
                            </tr>

							<!-- BEGIN InitialMessage -->
							<tr>
								<td bgcolor="#F6F6F6" colspan="5" class="fields" align="center">
									<br>
									Search for Owner (Person/Company) to send out your message to.
									<br>&nbsp;
								</td>
							</tr>
							<!-- END InitialMessage -->

							<!-- BEGIN NotFound -->
							<tr>
								<td bgcolor="#F6F6F6" colspan="5" class="fields" align="center">
									<br>
									0 records found for "<b>{searchKey}</b>".
									<br>&nbsp;
								</td>
							</tr>
							<!-- END NotFound -->

							<!-- BEGIN SearchResults -->

                            <tr>
                              <td colspan="5" bgcolor="#F6F6F6">
                                <font class="common">
								 &nbsp;<a href="OwnerList.php{Session}">New Search</a>
								</font>
								<br>
								<font class="fileds_comment">Page {currentPage} of {totalPages}</font>
                              </td>
                            </tr>

							<tr bgcolor="#CCCCCC" >
								<td class="fields" align="center">
								 <b>ID</b>
								</td>
								<td align="center" class="fields" width="80%">
								 <b>OWNER NAME</b>
								</td>
								<td>
								 &nbsp;
								</td>
							</tr>

							<!-- BEGIN OwnerList -->

							<tr bgcolor="#F6F6F6">
								<td class="fields" align="right">
								 <b>{id}</b>
								</td>
								<td class="fields" align="left" valign="top">
								 {ownerName}
								</td>
								<td class="fileds_comment" align="center">
								 <a href="OwnerDetails.php{Session}&ownerType={ownerType}&id={id}">Details &gt;&gt;</a>
								</td>
							</tr>

							<!-- END OwnerList -->

							<!-- BEGIN PageNavigator -->
                            <tr> 
								<td colspan=3 bgcolor="#F6F6F6" align="center">
									<table border=0 cellpadding=2 cellspacing=0>
									<tr>
										<td align="right" class="fileds_comment">
											<a href="OwnerList.php{Session}&page={previous}">&lt;&lt; Previous</a>
										</td>
										<td align="center" class="fileds_comment">
											[
											<select name="page" onChange="changePage();">
				                                <!-- BEGIN Pages -->
				                                <option value="{pages}" {paged}>{pages}</option>
				                                <!-- END Pages -->
											</select>
											of {totalPages}
											]
										</td>
										<td align="left" class="fileds_comment">
											<a href="OwnerList.php{Session}&page={next}">Next &gt;&gt;</a>
										</td>
									</tr>
									</table>
								</td>
							</tr>
							<!-- END PageNavigator -->




							<!-- END SearchResults -->

						  </table>

						</form>
				 </td>
			   </tr>
			   </table>
		
   		   </td>
           </tr>
           <tr> 
                      
		   <td align="center" valign="top"><img src="images/spacer.gif" width="10" height="15"><a name="#down"></a><br>
			<br>
			<br>
		   </td>
                    </tr>
                    <tr> 
                      <td align="center" valign="bottom" class="fileds_comment">

						<br><br><br><br><br>
						<br><br><br><br><br>
						<br><br><br><br><br>
					  
					  
						Tampering 
                        with this system is criminally punishable under Philippine 
                        Laws.<br>
                        &copy; Republic of the Philippines National Computer Center. 
                        All Rights Reserved. </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
          <td background="images/inner_16.jpg"><img SRC="images/spacer.gif " border=0 WIDTH=36 HEIGHT=375 ></td>
          <td> <img SRC="images/inner_17.jpg" WIDTH=17 HEIGHT=375 ></td>
        </tr>
        <tr> 
          <td> <img SRC="images/inner_18.jpg" WIDTH=18 HEIGHT=39></td>
          <td> <img SRC="images/inner_19.jpg" WIDTH=27 HEIGHT=39></td>
          <td> <img SRC="images/inner_20.jpg" WIDTH=355 HEIGHT=39></td>
          <td> <img SRC="images/inner_21.jpg" WIDTH=243 HEIGHT=39></td>
          <td> <img SRC="images/inner_22.jpg" WIDTH=104 HEIGHT=39></td>
          <td> <img SRC="images/inner_23.jpg" WIDTH=36 HEIGHT=39></td>
          <td> <img SRC="images/inner_24.jpg" WIDTH=17 HEIGHT=39></td>
        </tr>
      </table>
    </td>
  </tr>
</table>

</body>
</html>